package chapter4;

public class SwitchStatement {
	public static void main(String[] args) {
		char digit='a';
		for (int i = 0; i < 100; i++) {
			switch(digit) {
			case 'x':
				break;
			case 'd':
				break;
			case 'a':
				System.out.println("I found case a!");
			case 1:
				System.out.println("here is 1!");
				break;
			default:
				System.out.println("Hello default");
			}
			System.out.println("value of i:"+i);
		}
	}
}
